<?php

namespace App\Http\Controllers\Demo;

use App\Http\Controllers\Controller;
use App\Model\WXPay;
use Illuminate\Http\Request;

class DemoController extends Controller
{
    public function index(Request $request)
    {
        return $request->getSchemeAndHttpHost();
        // return WXPay::unifiedOrder('o1uGtuBuVWSUTXMDAJbOyKCkHbJI', 'jk9012892399', 1, $request->getSchemeAndHttpHost() . $request->getRequestUri(), '测试下单');
    }
}